package com.eshop.dao;

import com.eshop.pojo.Functions;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FunctionDao {
        @Select("select * from functions where id in (select fid from powers where aid=#{aid})")
    List<Functions> selectFunctionsByAid(int aid);//根据管理员id查询其功能权限
}
